'user strict';
const db = uniCloud.database()
const userDb = db.collection('user')
export.main = async (event,context) => {
	let res = await userDb.where({
		username: event.username,
		password:event.password,
		email: event.email,
		mobile: event.mobile,
		nickname: event.nickname
	})
	return res;
}